﻿package 
{
	import flash.display.Bitmap;
	import flash.display.Sprite;
	import flash.events.Event;
	
	public class Main extends Sprite 
	{		
		[Embed(source = "../lib/Logo.png")] public var Img1:Class; //Load big heavy image
		
		public function Main():void 
		{
			if (stage) init();
			else addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event = null):void 
		{
			removeEventListener(Event.ADDED_TO_STAGE, init);
			var img1:Bitmap = new Img1();
			img1.scaleX = img1.scaleY = 0.2;
			addChild(img1);
		}
		
	}
	
}